#!/bin/sh

echo "Call SWIG"
~/swigwin/swig.exe -python nidaqmx.i

echo "Compile"
gcc nidaqmx_wrap.c gccLib/libnidaqmx.a -I /c/Program\ Files/National\ Instruments/NI-DAQ/DAQmx\ ANSI\ C\ Dev/include/ -I/c/Python26/include/ -L/c/Python26/libs/ -lpython26 -Xlinker -export-dynamic -shared -o _nidaqmx.pyd
